/**
 * 帖子列表
 */
export const
	blogColumns = [{
			title: '序号',
			dataIndex: 'num',
			align: 'center',
			scopedSlots: {
				customRender: 'num'
			},
		},
		{
			title: '博客id',
			dataIndex: 'blogId',
			width: '15%',
			scopedSlots: {
				customRender: 'blogId'
			},
		},
		{
			title: '帖子标题',
			dataIndex: 'blogTitle',
			width: '15%',
			scopedSlots: {
				customRender: 'blogTitle'
			},
		},
		{
			title: '帖子封面',
			dataIndex: 'blogImage',
			width: '10%',
			scopedSlots: {
				customRender: 'blogImage'
			},
		},
		{
			title: '帖子描述',
			dataIndex: 'blogDescription',
			width: '10%',
			scopedSlots: {
				customRender: 'blogDescription'
			},
		},
		{
			title: '阅读量',
			dataIndex: 'blogRead',
			scopedSlots: {
				customRender: 'blogRead'
			},
		},
		{
			title: '点赞量',
			dataIndex: 'blogLikes',
			scopedSlots: {
				customRender: 'blogLikes'
			},
		},
		{
			title: '收藏量',
			dataIndex: 'blogCollection',
			scopedSlots: {
				customRender: 'blogCollection'
			},
		},
		{
			title: '评论量',
			dataIndex: 'blogComment',
			scopedSlots: {
				customRender: 'blogComment'
			},
		},
		{
			title: '是否置顶',
			dataIndex: 'isTop',
			scopedSlots: {
				customRender: 'isTop'
			},
		},
		{
			title: '创建时间',
			dataIndex: 'createdTime',
			width: '10%',
			scopedSlots: {
				customRender: 'createdTime'
			},
		},
		{
			title: '修改时间',
			dataIndex: 'updateTime',
			width: '10%',
			scopedSlots: {
				customRender: 'updateTime'
			},
		},
		{
			title: '操作',
			width: '200',
			dataIndex: 'operation',
			scopedSlots: {
				customRender: 'operation'
			},
		}
	];

export const aboutColumns = [
	{
		title: '关于id',
		dataIndex: 'aboutId',
		width: '50',
		scopedSlots: {
			customRender: 'aboutId'
		},
	},
	{
		title: '关于标题',
		dataIndex: 'aboutTitle',
		scopedSlots: {
			customRender: 'aboutTitle'
		},
	},
	{
		title: '阅读量',
		dataIndex: 'aboutRead',
		scopedSlots: {
			customRender: 'aboutRead'
		},
	},
	{
		title: '是否显示',
		dataIndex: 'enable',
		scopedSlots: {
			customRender: 'enable'
		},
	},
	{
		title: '创建时间',
		dataIndex: 'createdTime',
		width: '10%',
		scopedSlots: {
			customRender: 'createdTime'
		},
	},
	{
		title: '修改时间',
		dataIndex: 'updateTime',
		width: '10%',
		scopedSlots: {
			customRender: 'updateTime'
		},
	},
	{
		title: '操作',
		width: '220',
		dataIndex: 'operation',
		scopedSlots: {
			customRender: 'operation'
		},
	}
]
